/**
 * 
 */
package com.honghao.student.dao;

import java.io.Serializable;
import java.util.List;

/**
 * @author honghao.li
 * 
 */
public interface BaseDao<T, PK extends Serializable>{

	public List<T> selectAll();

	public T selectByKey(PK id);

	public int save(T entity);

	public int update(T entity);

	public int delete(PK id);
	
}
